# 使用官方 nginx 镜像作为基础镜像
FROM nginx:latest


# 复制项目文件到容器内的目录
COPY ./dist /usr/share/nginx/html
COPY ./vue-front-nginx.conf /etc/nginx/conf.d


# 暴露端口
EXPOSE 8000


# CMD [["pnpm", "run","dev"]]